package com.wtwd.device.model.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author mjy
 * @date 2021/11/09
 * @description
 */
@ApiModel(value="appVersionVo对象", description="")
public class AppVersionVo {

    private static final long serialVersionUID = 1086234874564L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "app名称")
    private String appName;

    @ApiModelProperty(value = "客户端类型1：ios,2:安卓")
    private Long clientType;

    @ApiModelProperty(value = "app管理表外键")
    private Long appId;

    @ApiModelProperty(value = "下载路径")
    private String installLocation;

    @ApiModelProperty(value = "app版本")
    private String version;

    @ApiModelProperty(value = "发布时间")
    private Long createTime;

    @ApiModelProperty(value = "升级类型 1：强制升级，2：强提示升级，3：弱提示升级")
    private Integer type;

    @ApiModelProperty(value = "升级提示语")
    private String describe;

    @ApiModelProperty(value = "最低兼容版本")
    private String lowestVersion;

    @ApiModelProperty(value = "修改时间")
    private Long updateTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public Long getAppId() {
        return appId;
    }

    public void setAppId(Long appId) {
        this.appId = appId;
    }

    public String getInstallLocation() {
        return installLocation;
    }

    public void setInstallLocation(String installLocation) {
        this.installLocation = installLocation;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public String getLowestVersion() {
        return lowestVersion;
    }

    public void setLowestVersion(String lowestVersion) {
        this.lowestVersion = lowestVersion;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    public Long getClientType() {
        return clientType;
    }

    public void setClientType(Long clientType) {
        this.clientType = clientType;
    }

    @Override
    public String toString() {
        return "AppVersionVo{" +
                "id=" + id +
                ", appName='" + appName + '\'' +
                ", clientType='" + clientType + '\'' +
                ", appId=" + appId +
                ", installLocation='" + installLocation + '\'' +
                ", version='" + version + '\'' +
                ", createTime=" + createTime +
                ", type=" + type +
                ", describe='" + describe + '\'' +
                ", lowestVersion='" + lowestVersion + '\'' +
                ", updateTime=" + updateTime +
                '}';
    }
}
